<?php
abstract class AbsCache {
	protected $ttl;
	protected $group;
	
	public function __construct($cfg) {
		$this->group = $cfg['group'];
		$this->ttl = $cfg['ttl'];
	}
	
	abstract public function store($key, $val);
	abstract public function fetch($key);
	abstract public function delete($key);
	abstract public function clear();
	abstract public function dump();
}
?>